package cn.edu.ncut.cs.springboot.springsecuritydemo.repository;

import cn.edu.ncut.cs.springboot.springsecuritydemo.entity.Book;
import cn.edu.ncut.cs.springboot.springsecuritydemo.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * ClassName : BookRepository
 * package : cn.edu.ncut.cs.springboot.springsecuritydemo.repository
 * Description :
 *
 * @ Author Dreama
 * @ Creat 2024/12/24 13:52
 * @ Version 1.0
 */
public interface BookRepository extends JpaRepository<Book,Long> {
    List<Book> getBookByTitle(String title);
//    List<Book> findByTitle(String title);
}
